<?php
class ome_finder_dly_corp{
    var $detail_basic = "物流公司详情";
    
    function detail_basic($corp_id){
        $render = app::get('ome')->render();
        $oCorp = &app::get('ome')->model("dly_corp");
        $dly_info = $oCorp->dump($corp_id);
        $dly_info['area_fee_conf'] = unserialize($dly_info['area_fee_conf']);
        $dly_info['protect_rate'] = $dly_info['protect_rate']*100;
        $render->pagedata['dt_info'] = $dly_info;
        return $render->fetch("admin/system/dly_corp_detail.html");
    }

    var $addon_cols = "corp_id";
    var $column_edit = "操作";
    var $column_edit_width = "70";
     function column_edit($row){
          $finder_id = $_GET['_finder']['finder_id'];
         return '<a href="index.php?app=ome&ctl=admin_dly_corp&act=editdly_corp&p[0]='.$row[$this->col_prefix.'corp_id'].'&finder_id='.$finder_id.'" target="_blank">编辑</a>';
    }
}
?>